package com.baizhi.config;

import com.baizhi.entity.People;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ConfigPeople {
    @Bean
    public People people(){
        People people=new People();
        people.setAge(18);
        people.setName("海鱼");
        return people;
    }

}
